package com.hsteach.web.controller.cookmenu.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

@ApiModel(value = "CopyDishDto", description = "复制菜品")
@Data
public class CopyDishDto implements Serializable {

    @NotBlank(message = "学期id不能为空")
    @ApiModelProperty(value = "学期id", required = true)
    private String semId;

    @NotNull(message = "源第几周不能为空")
    @ApiModelProperty(value = "源第几周", required = true)
    private Integer fromWeekIndex;

    @Size(min = 1, message = "需要选择周次")
    @ApiModelProperty(value = "目标第几周list", required = true)
    private List<Integer> toWeekIndexs;

}
